package icu.sehnen.service.impl;

import icu.sehnen.dao.CustomerDao;
import icu.sehnen.entity.Customer;
import icu.sehnen.service.CustomerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public class CustomerServiceImpl implements CustomerService {

    @Autowired
    CustomerDao customerDao;

   public List<Customer> findAll(){
        return customerDao.findAllCustomer();
  }

}
